/*
 * Copyright (c) 2014. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package com.dc.gameserver.extComponents.springDataRedisCache.Operations;

import java.io.Serializable;

/**
 * @author 石头哥哥
 *         Date: 13-11-9</br>
 *         Time: 下午4:04</br>
 *         Package: Server.ExtComponents.RedisManager</br>
 *         注解: 基于redis 实现的队列
 */
public interface queueOperations {
    /**
     *
     * @param key
     * @param serializable
     */
    public void Push(int key, Serializable serializable);
    /**
     *
     * @return
     */
    public Serializable Pop(int key);

    /**
     * 删除 缓存 key对应的value
     *
     * @param key
     */
    public void remove(int key) ;
}
